addition of three fractions